package com.swsc.solarverse.model.openapi;

import com.swsc.solarverse.common.model.BaseVO;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @Author chencl
 * @Date 2025/3/3 14:09
 * @Version 1.0
 * @Description
 */
//@io.swagger.annotations.ApiModel
@lombok.Data
public class OpenApiForwardDeviceInverterDataReqVO extends BaseVO {
//    @io.swagger.annotations.ApiModelProperty(value = "数据")
    private List<ForwardDeviceInverterDataReqVO> datas;
//    @io.swagger.annotations.ApiModel
    @lombok.Data
    public static class ForwardDeviceInverterDataReqVO extends BaseVO {
//        @io.swagger.annotations.ApiModelProperty(value = "设备id")
        private Long deviceId;

//        @io.swagger.annotations.ApiModelProperty(value = "设备名称")
        private String deviceName;

//        @io.swagger.annotations.ApiModelProperty(value = "数据时间")
        private LocalDateTime dataTime;

//        @io.swagger.annotations.ApiModelProperty(value = "直流输入电压|PV电压")
        private Double voltage;

//        @io.swagger.annotations.ApiModelProperty(value = "直流输入电流|PV电流")
        private Double electricCurrent;

//        @io.swagger.annotations.ApiModelProperty(value = "PV输入功率")
        private Double pvInputPower;

//        @io.swagger.annotations.ApiModelProperty(value = "日发电量")
        private Double powerGeneration;

//        @io.swagger.annotations.ApiModelProperty(value = "输出总有功")
        private Double totalOutput;
//        @io.swagger.annotations.ApiModelProperty(value = "支路数据")
        private List<OpenApiForwardDeviceStringDataReqVO> stringDatas;
    }
}
